
FIND_PROGRAM(SPHINX_EXECUTABLE
  NAMES sphinx-build
  PATHS /usr/bin /usr/local/bin
  DOC "Sphinx builder"
  )

IF(SPHINX_EXECUTABLE)
  SET(SPHINX_FOUND ON)
ELSE(SPHINX_EXECUTABLE)
  SET(SPHINX_FOUND OFF)
ENDIF(SPHINX_EXECUTABLE)
